/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package businessData;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;



/**
 *
 * @author cam
 */

public class CustomerPlan implements Serializable{
   
    
    private List<Order> productionPlanList;
    
    public List<Order> getProductionPlanList() {
        return productionPlanList;
    }

    public void setProductionPlanList(List<Order> productionPlanList) {
        this.productionPlanList = productionPlanList;
    }

    public CustomerPlan() {
        productionPlanList = new ArrayList<Order>();
    }

    public CustomerPlan(List<Order> productionPlanList) {
        this.productionPlanList = productionPlanList;
    }

    public void addChild(Order order)
    {
        productionPlanList.add(order);
    }
    
    public void addList(List<Order> order)
    {
        for (Order order1 : order) {
            productionPlanList.add(order1);
        }
        
    }
    
    
}
